package com.ctrip.cap.internal.appium.suite.android;

import com.ctrip.cap.device.android.AndroidApp;
import com.ctrip.cap.device.android.AndroidDevice;
import com.ctrip.cap.lanucher.AppiumConfig;
import com.ctrip.cap.lanucher.AppiumConfig.DriverType;
import com.ctrip.cap.lanucher.Config;

/**
 * 
 * @author ltyao
 *
 */
public class AppProcessContext {

	public AppiumConfig getAppiumConfig() {
		return (AppiumConfig) appiumConfig;
	}

	public void setAppiumConfig(Config appiumConfig) {
		this.appiumConfig = appiumConfig;
	}

	public DriverType getDriverType() {
		return appiumConfig.getDriverType();
	}

	public AndroidApp getApp() {
		return app;
	}

	public void setApp(AndroidApp app) {
		this.app = app;
	}

	public AndroidDevice getDevice() {
		return device;
	}

	public void setDevice(AndroidDevice device) {
		this.device = device;
	}

	private AndroidApp app;
	private AndroidDevice device;
	private Config appiumConfig;

	public AppProcessContext(AndroidApp app, AndroidDevice device) {
		super();
		this.app = app;
		this.device = device;
	}

}